/**
 * 
 */
package ru.cargobroker.maip.base.itest;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;

/**
 * Base transactional Test class for Integration Testing
 * 
 * 
 * @author M.Frendiy
 * @since 0.0.1
 */
@ContextConfiguration({"classpath*:META-INF/spring/*-beans.xml"})
public class AbstractTransactionalITest extends AbstractTransactionalJUnit4SpringContextTests {
	@Autowired
	protected ApplicationContext applicationContext;
	
	@PersistenceContext
	protected EntityManager entityManager;
}
